package com.wens.baselibrary.example.service

import android.content.Context
import android.util.Log
import com.alibaba.android.arouter.facade.annotation.Route
import com.wens.baselibrary.service.DemoService
import com.wens.baselibrary.util.ARouterUtil

@Route(path = "base/demo", name = "demo")
class DemoServiceImpl : DemoService {

    override fun startNewActivity() {
        ARouterUtil.build("base/demoview").navigation()
    }

    override fun doSomething() {
        Log.e(javaClass.simpleName, "doSomething: ")
    }

    override fun init(p0: Context?) {

    }
}